/**
 *
 */
package cn.dw.mm.service;

import java.util.List;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import cn.dw.mm.domain.User;

/**
 * @author aubrey
 * @date  上午10:50:59
 * 
 */
public interface UserService {
	int deleteByPrimaryKey(String id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    List<User> selectAll(User user);

	/**
	 * @param name
	 * @param password
	 * @return
	 */
	String login(User user);

	/**
	 * @param user
	 */
	HSSFWorkbook excel(User user);
}
